﻿@model IEnumerable<DotNetProject.Models.Showtime>

<div id="showtimeList">
    @foreach (var item in Model) {
        <div class="programmatie">
        <a href="@Url.Action("Details", "Movie", new { id = item.movie.movieId })">
            <img src="@Url.Content(item.movie.movieImage)" alt="movie poster" runat="server" />
        </a>
        <h1>
            <a href="@Url.Action("Details", "Movie", new { id = item.movie.movieId})">
                @item.movie.movieTitle
            </a>
        </h1>
        <p>
            Uur: @item.showtimeTime.ToString("HH:mm")<br />
            Zaal: @item.showtimeHall
        </p>
        </div>
    }
</div>